package com.lsmw.ucenter.client.impl;
/*
 *ClassName:MyOssClientImpl
 *UserName:二号男嘉宾
 *CreateTime:2021/1/6 10:34
 */


import com.lsmw.ucenter.client.MyOssClient;
import com.lsmw.commonutils.R;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

@Component
public class MyOssClientImpl implements MyOssClient {
    // 出错之后运行
    @Override
    public R uploadFile(MultipartFile file) {
        return R.internalServerError().data("msg", "出错熔断");
    }
}
